package main

import (
	"fmt"
	"strings"
)

func main() {
	s := "1,2,3,4"
	// 字符串分割成切片
	split := strings.Split(s, ",")

	fmt.Println(split)
}
